package com.shanling.shanlingcontroller.persenter.contract;

import android.app.Activity;

import com.shanling.shanlingcontroller.persenter.BasePersenter;
import com.shanling.shanlingcontroller.ui.BaseView;

/**
 * Created by ch1 on 2019/10/19.
 */

public interface ChangePasswordContract  {
    interface View extends BaseView {
        void changeSuccess(String password);
        void changeFaild(String error);
    }
    interface Presenter extends BasePersenter<View> {
        void changePassword(String oldPassword,String newPassword);
    }
}
